import request from '@/utils/request'

// 查询新闻通知列表
export function listAxBankCard(query) {
  return request({
    url: '/ax/axBankCard/list',
    method: 'get',
    params: query
  })
}

// 查询新闻通知详细
export function getAxBankCard(id) {
  return request({
    url: '/ax/axBankCard/' + id,
    method: 'get'
  })
}

// 新增新闻通知
export function addAxBankCard(data) {
  return request({
    url: '/ax/axBankCard',
    method: 'post',
    data: data
  })
}

// 修改新闻通知
export function updateAxBankCard(data) {
  return request({
    url: '/ax/axBankCard',
    method: 'put',
    data: data
  })
}

// 删除新闻通知
export function delAxBankCard(id) {
  return request({
    url: '/ax/axBankCard/' + id,
    method: 'delete'
  })
}
